package com.wash.shoes.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wash.shoes.entity.WorkOrderPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 工单mapper
 */
@Mapper
public interface WorkOrderMapper extends BaseMapper<WorkOrderPo> {

    /**
     * 工单列表
     *
     * @param shopId
     * @param userBindType
     * @param orderNo      订单号
     * @param phone        手机号
     * @return
     */

    Page<WorkOrderPo> pageList(IPage page, @Param("shopId") String shopId, @Param("userBindType") String userBindType, @Param("orderNo") String orderNo, @Param("phone") String phone);
}
